This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: File download from another database with xpages
Feedback Type: Problem
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: New Features
Platform: Windows XP client
Release: 8.5
Reproducible: Always
Hi,
I have an xpage with a document datasource that is bound to a document in another database. Opening and editing works fine except when I use the file download control to display attachments, then I get an Error 500 HTTP Web Server: Command Not Handled Exception (the default error page is not used to display the error, although I have it checked in the aplication properties and it is displayed with other errors).
When I try to experiment some more I get too confused with the results to make anything out of it. Sometimes all attachment-links seem to work when I open a document and then nothing seems to work or something inbetween. The first attachment I create on a document always creates an error when I try to open it. It doesn't seem to mather if i create the attachments with the notes client or with a file upload control on the xpage.
I have tried with attachments in the same database and then it works fine.
When it was just opening attachments I could probably create some links using @attachmentNames, but I also want the users to be able to delete the attachments and I don't think the %%Detach checkbox will work on a xpage (haven't tried it though). And besides when it works it is a really nice control, so if someone knows a way I can maybe program the FileNameHrefValue property with the proper URL that would be a great help.
Rene.
Feedback number WEBB7P525Z created by ~Richard Dwojipypuletsi on 02/10/2009
Status: Open
Comments: